<?php
class Employee extends AppModel {
	var $name = 'Employee';
	var $displayField = 'name';
	var $validate = array(
//		'name' => array(
//			'notempty' => array(
//				'rule' => array('notempty'),
//				'message' => 'The field can not be empty',
//				//'allowEmpty' => false,
//				//'required' => false,
//				//'last' => false, // Stop validation after this rule
//				//'on' => 'create', // Limit validation to 'create' or 'update' operations
//			),
//		),
//		'surname' => array(
//			'notempty' => array(
//				'rule' => array('notempty'),
//				'message' => 'The field can not be empty',
//				//'allowEmpty' => false,
//				//'required' => false,
//				//'last' => false, // Stop validation after this rule
//				//'on' => 'create', // Limit validation to 'create' or 'update' operations
//			),
//		),
//		'address1' => array(
//			'notempty' => array(
//				'rule' => array('notempty'),
//				'message' => 'The field can not be empty',
//				//'allowEmpty' => false,
//				//'required' => false,
//				//'last' => false, // Stop validation after this rule
//				//'on' => 'create', // Limit validation to 'create' or 'update' operations
//			),
//		),
//		'address2' => array(
//			'notempty' => array(
//				'rule' => array('notempty'),
//				'message' => 'The field can not be empty',
//				//'allowEmpty' => false,
//				//'required' => false,
//				//'last' => false, // Stop validation after this rule
//				//'on' => 'create', // Limit validation to 'create' or 'update' operations
//			),
//		),
//		'address3' => array(
//			'notempty' => array(
//				'rule' => array('notempty'),
//				'message' => 'The field can not be empty',
//				//'allowEmpty' => false,
//				//'required' => false,
//				//'last' => false, // Stop validation after this rule
//				//'on' => 'create', // Limit validation to 'create' or 'update' operations
//			),
//		),
//		'address4' => array(
//			'notempty' => array(
//				'rule' => array('notempty'),
//				'message' => 'The field can not be empty',
//				//'allowEmpty' => false,
//				//'required' => false,
//				//'last' => false, // Stop validation after this rule
//				//'on' => 'create', // Limit validation to 'create' or 'update' operations
//			),
//		),
//		'phone1' => array(
//			'notempty' => array(
//				'rule' => array('notempty'),
//				'message' => 'The field can not be empty',
//				//'allowEmpty' => false,
//				//'required' => false,
//				//'last' => false, // Stop validation after this rule
//				//'on' => 'create', // Limit validation to 'create' or 'update' operations
//			),
//		)
	);
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	var $belongsTo = array(
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'user_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>